package com.mk.model.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.mk.base.entity.BaseEntity;

import java.io.Serializable;

/**
 * @Author: yq
 * @Description:
 * @Date: Created in 2:14 PM 3/15/18
 */
@TableName("sys_pac")
public class Pac extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    private String title;
    @TableField("user_id")
    private Long userId;//创建人
    @TableField("dir_id")
    private Long dirId;//文件夹
    @TableField(exist = false)
    private String username;

    @TableField(exist = false)
    private Tag tag;

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getDirId() {
        return dirId;
    }

    public void setDirId(Long dirId) {
        this.dirId = dirId;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public Tag getTag() {
        return tag;
    }

    public void setTag(Tag tag) {
        this.tag = tag;
    }
}
